package com.wenson.behavior.visitor;

/**
 * @ClassName: Visitor
 * @Author: luowangcheng
 * @Date: 2024/6/16 15:38
 * @Description:
 */
public interface Visitor {
    public void visit(Candy candy); //糖果重载方法

    public void visit(Wine wine); //酒类重载方法

    public void visit(Fruit fruit); //水果重载方法
}
